﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EnumerationDescriptor.cs" company="">
//   
// </copyright>
// <summary>
//   Defines the EnumerationDescriptor type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

using System;

namespace CarbonKit.Core.Silverlight3
{
    [AttributeUsage(AttributeTargets.Enum | AttributeTargets.Field, AllowMultiple = false)]
    public class EnumDescriptorAttribute : Attribute
    {
        private readonly string description;

        public EnumDescriptorAttribute(string description)
        {
            this.description = description;
        }

        public string Description
        {
            get { return this.description; }
        }
    }
}